package au.com.cmcrc.tradelab.pm.util;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;

public class URLConnectionReader {

	public static BufferedReader getURLReader(String url)throws Exception{
		URL urlObj = new URL(url);
        URLConnection urlObjConn = urlObj.openConnection();
        return new BufferedReader(new InputStreamReader(urlObjConn.getInputStream()));
	}
	
}
